package cn.iocoder.yudao.module.mqtt.controller.admin.deviceauth.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 设备报警授权分页 Request VO")
@Data
public class DeviceAuthPageReqVO extends PageParam {

    @Schema(description = "设备ID", example = "5444")
    private Long deviceId;

    @Schema(description = "报警配置ID", example = "6285")
    private Long alarmId;

    @Schema(description = "用户ID", example = "28792")
    private Long userId;

    @Schema(description = "用户账号", example = "王五")
    private String userName;

    @Schema(description = "微信通知")
    private String openWeixin;

    @Schema(description = "短信通知")
    private String openSms;

    @Schema(description = "是否启用", example = "2")
    private String ararmStatus;

    @Schema(description = "描述", example = "随便")
    private String description;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}